#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class Student : public QObject
{
    Q_OBJECT
public:
    explicit Student(QObject *parent = nullptr);
    //槽函数书写位置,也可书写在全局 早期QT写在public slots
    //无返回值，需要声生命与实现
    //可以有参数和重载
    void treat();
    void treat(QString foodname);
signals:


};

#endif // STUDENT_H
